#ifndef __NETCOMM_H
#define __NETCOMM_H


#include <stdio.h>
#include <sys/types.h>         
#include <sys/socket.h>
#include <sys/un.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <netinet/in.h>
#include <arpa/inet.h>

#include <pthread.h>

#include "CommonShare.h"



class NetComm
{
public:
    int socketAccept();
    int socketInit();
private:
    static void *threadFunc(void *arg);
};

#endif